package org.omg.IOP;
/**
 *	Generated from IDL definition of alias "ServiceId"
 *	@author IDL compiler 
 */

public class ServiceIdHelper
{
//	private static org.omg.CORBA.TypeCode _type = org.omg.CORBA.ORB.init().create_alias_tc( org.omg.IOP.ServiceIdHelper.id(),"ServiceId",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(5)));
	private static org.omg.CORBA.TypeCode _type;
	public ServiceIdHelper ()
	{
	}
	public static void insert(org.omg.CORBA.Any any, int s)
	{
		any.insert_ulong(s);
	}
	public static int extract(org.omg.CORBA.Any any)
	{
		return any.extract_ulong();
	}
	public static org.omg.CORBA.TypeCode type()
	{
		return _type;
	}
	public static String id()
	{
		return "IDL:omg.org/IOP/ServiceId:1.0";
	}
	public static int read(org.omg.CORBA.portable.InputStream _in)
	{
		int _result;
		_result=_in.read_ulong();
		return _result;
	}
	public static void write(org.omg.CORBA.portable.OutputStream _out, int _s)
	{
		_out.write_ulong(_s);
	}
}
